#ifndef DLT645_H
#define DLT645_H

#include <QObject>
#include <QDebug>
#include <QSerialPort>
#include <QMutex>
class DLT645 : public QObject
{
    Q_OBJECT
public:
    explicit DLT645(QObject *parent = nullptr);
    QSerialPort port;
    void SetPort(QString Name,int baudrate);
    void SlotsInit();
    QMutex vectorLocker;
    QVector <int> readyRead;
signals:
public slots:
    //void Recv();
    void AddTimesToRead();
};

#endif // DLT645_H
